package com.example.pojo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;



public class Xs_dd implements Serializable{

	/**
	 * 销售订单
	 */
	
//	[{"custbillname":"株洲健坤","sfhs":"是","billstatus":"未结案","billdate":"2017-05-18","billno":"20170518001","custbillno":"pc-posk100002","custcurrency":"人民币","exchrate":1,
//		"salesid":"阿伟","permittersign":"已审核",
//		"zje":4500.0,    所属部门     String              DepartName         null
//	 制单人员     String              Maker              null
//	 复核人员     String              Permitter
//		"xs_ddx":[{"serno":1,"billno":null,"rrodid":null,"rrodname":null,"prodsize":"有型","unitname":"惠普","squantity":2,"oldprice":2000.0,"discount":8.0,"sprice":2000.0,"amount":4000.0,"taxrate":10.0,"taxamt":500.0,"vrtotal":4500.0,"preindate":"2017-05-21","qtyremain":0,"fromno":"20170518001","trantype":"销售报价单"}]}]	
	
	private static final long serialVersionUID = -2408300882994261274L;
    private String	custbillname;
    private String	sfhs;
    private String billstatus;
	private String billdate; 
    private String	billno; 
    private String	custbillno; 
    private String custcurrency;
	private int exchrate ;
	private String salesid ;  
	private String permittersign;
	private double zje;
	private int count;
	private List<Xs_ddx> xs_ddx=new ArrayList<Xs_ddx>();
	private String departname; //所属部门
	private String maker; //	 制单人员
	private String permitter; //	 复核人员
	public Xs_dd (){}
	public String trantype;
	
 
	//查询的销售报价单的字段
	  private Integer lineId; 
	  private Xs_bj bj;
	  private  String  prodId;
	  private  Integer sumqty;
	  private  double beforemoney;
	  private  double zheshu;
	  private  double  price;
	  private  double money;
	  private  double taxlv;
	  private  double taxmoney;
	  private  double sumtax;
	  private  String ispresent;
	  private  String remark;
	  private String proname;
	  
	  
	    private int serno;
		private String prodid ;
		private String prodname;
		private	String prodsize; 
		private	String unitname; 
		private	int squantity;
		private	double oldprice; 
		private	double discount; 
		private	double sprice; 
		private	double amount; 
		private	double taxrate; 
		private double vrtotal; 
		private	String preindate; 
		private int    qtyremain; 
		private	String fromno; 
		public String Pid;
		public String Pname;
	   
	public Xs_dd(String pid, String pname) {
			super();
			Pid = pid;
			Pname = pname;
		}
	public String getPid() {
			return Pid;
		}
		public void setPid(String pid) {
			Pid = pid;
		}
		public String getPname() {
			return Pname;
		}
		public void setPname(String pname) {
			Pname = pname;
		}
	public Xs_dd(String custbillname, String sfhs, String billstatus,
				String billdate, String billno, String custbillno,
				String custcurrency, int exchrate, String salesid,
				String permittersign, double zje, int count,
				List<Xs_ddx> xs_ddx, String departname, String maker,
				String permitter, String trantype, Integer lineId, Xs_bj bj,
				String prodId, Integer sumqty, double beforemoney,
				double zheshu, double price, double money, double taxlv,
				double taxmoney, double sumtax, String ispresent,
				String remark, String proname, int serno, String prodid2,
				String prodname, String prodsize, String unitname,
				int squantity, double oldprice, double discount, double sprice,
				double amount, double taxrate, double taxamt, double vrtotal,
				String preindate, int qtyremain, String fromno) {
			super();
			this.custbillname = custbillname;
			this.sfhs = sfhs;
			this.billstatus = billstatus;
			this.billdate = billdate;
			this.billno = billno;
			this.custbillno = custbillno;
			this.custcurrency = custcurrency;
			this.exchrate = exchrate;
			this.salesid = salesid;
			this.permittersign = permittersign;
			this.zje = zje;
			this.count = count;
			this.xs_ddx = xs_ddx;
			this.departname = departname;
			this.maker = maker;
			this.permitter = permitter;
			this.trantype = trantype;
			this.lineId = lineId;
			this.bj = bj;
			this.prodId = prodId;
			this.sumqty = sumqty;
			this.beforemoney = beforemoney;
			this.zheshu = zheshu;
			this.price = price;
			this.money = money;
			this.taxlv = taxlv;
			this.taxmoney = taxmoney;
			this.sumtax = sumtax;
			this.ispresent = ispresent;
			this.remark = remark;
			this.proname = proname;
			this.serno = serno;
			prodid = prodid2;
			this.prodname = prodname;
			this.prodsize = prodsize;
			this.unitname = unitname;
			this.squantity = squantity;
			this.oldprice = oldprice;
			this.discount = discount;
			this.sprice = sprice;
			this.amount = amount;
			this.taxrate = taxrate;
			this.vrtotal = vrtotal;
			this.preindate = preindate;
			this.qtyremain = qtyremain;
			this.fromno = fromno;
		}
	public int getSerno() {
			return serno;
		}
		public void setSerno(int serno) {
			this.serno = serno;
		}
		public String getProdid() {
			return prodid;
		}
		public void setProdid(String prodid) {
			this.prodid = prodid;
		}
		public String getProdname() {
			return prodname;
		}
		public void setProdname(String prodname) {
			this.prodname = prodname;
		}
		public String getProdsize() {
			return prodsize;
		}
		public void setProdsize(String prodsize) {
			this.prodsize = prodsize;
		}
		public String getUnitname() {
			return unitname;
		}
		public void setUnitname(String unitname) {
			this.unitname = unitname;
		}
		public int getSquantity() {
			return squantity;
		}
		public void setSquantity(int squantity) {
			this.squantity = squantity;
		}
		public double getOldprice() {
			return oldprice;
		}
		public void setOldprice(double oldprice) {
			this.oldprice = oldprice;
		}
		public double getDiscount() {
			return discount;
		}
		public void setDiscount(double discount) {
			this.discount = discount;
		}
		public double getSprice() {
			return sprice;
		}
		public void setSprice(double sprice) {
			this.sprice = sprice;
		}
		public double getAmount() {
			return amount;
		}
		public void setAmount(double amount) {
			this.amount = amount;
		}
		public double getTaxrate() {
			return taxrate;
		}
		public void setTaxrate(double taxrate) {
			this.taxrate = taxrate;
		}
		 
	 
		public double getVrtotal() {
			return vrtotal;
		}
		public void setVrtotal(double vrtotal) {
			this.vrtotal = vrtotal;
		}
		public String getPreindate() {
			return preindate;
		}
		public void setPreindate(String preindate) {
			this.preindate = preindate;
		}
		public int getQtyremain() {
			return qtyremain;
		}
		public void setQtyremain(int qtyremain) {
			this.qtyremain = qtyremain;
		}
		public String getFromno() {
			return fromno;
		}
		public void setFromno(String fromno) {
			this.fromno = fromno;
		}
	public String getCustbillname() {
		return custbillname;
	}
	public void setCustbillname(String custbillname) {
		this.custbillname = custbillname;
	}
	public String getSfhs() {
		return sfhs;
	}
	public void setSfhs(String sfhs) {
		this.sfhs = sfhs;
	}
	public String getBillstatus() {
		return billstatus;
	}
	public void setBillstatus(String billstatus) {
		this.billstatus = billstatus;
	}
	public String getBilldate() {
		return billdate;
	}
	public void setBilldate(String billdate) {
		this.billdate = billdate;
	}
	public String getBillno() {
		return billno;
	}
	public void setBillno(String billno) {
		this.billno = billno;
	}
	public String getCustbillno() {
		return custbillno;
	}
	public void setCustbillno(String custbillno) {
		this.custbillno = custbillno;
	}
	public String getCustcurrency() {
		return custcurrency;
	}
	public void setCustcurrency(String custcurrency) {
		this.custcurrency = custcurrency;
	}
	public int getExchrate() {
		return exchrate;
	}
	public void setExchrate(int exchrate) {
		this.exchrate = exchrate;
	}
	public String getSalesid() {
		return salesid;
	}
	public void setSalesid(String salesid) {
		this.salesid = salesid;
	}
	public String getPermittersign() {
		return permittersign;
	}
	public void setPermittersign(String permittersign) {
		this.permittersign = permittersign;
	}
	public double getZje() {
		return zje;
	}
	public void setZje(double zje) {
		this.zje = zje;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public List<Xs_ddx> getXs_ddx() {
		return xs_ddx;
	}
	public void setXs_ddx(List<Xs_ddx> xs_ddx) {
		this.xs_ddx = xs_ddx;
	}
	public String getDepartname() {
		return departname;
	}
	public void setDepartname(String departname) {
		this.departname = departname;
	}
	public String getMaker() {
		return maker;
	}
	public void setMaker(String maker) {
		this.maker = maker;
	}
	public String getPermitter() {
		return permitter;
	}
	public void setPermitter(String permitter) {
		this.permitter = permitter;
	}
	public String getTrantype() {
		return trantype;
	}
	public void setTrantype(String trantype) {
		this.trantype = trantype;
	}
	public Integer getLineId() {
		return lineId;
	}
	public void setLineId(Integer lineId) {
		this.lineId = lineId;
	}
	public Xs_bj getBj() {
		return bj;
	}
	public void setBj(Xs_bj bj) {
		this.bj = bj;
	}
	public String getProdId() {
		return prodId;
	}
	public void setProdId(String prodId) {
		this.prodId = prodId;
	}
	public Integer getSumqty() {
		return sumqty;
	}
	public void setSumqty(Integer sumqty) {
		this.sumqty = sumqty;
	}
	public double getBeforemoney() {
		return beforemoney;
	}
	public void setBeforemoney(double beforemoney) {
		this.beforemoney = beforemoney;
	}
	public double getZheshu() {
		return zheshu;
	}
	public void setZheshu(double zheshu) {
		this.zheshu = zheshu;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public double getMoney() {
		return money;
	}
	public void setMoney(double money) {
		this.money = money;
	}
	public double getTaxlv() {
		return taxlv;
	}
	public void setTaxlv(double taxlv) {
		this.taxlv = taxlv;
	}
	public double getTaxmoney() {
		return taxmoney;
	}
	public void setTaxmoney(double taxmoney) {
		this.taxmoney = taxmoney;
	}
	public double getSumtax() {
		return sumtax;
	}
	public void setSumtax(double sumtax) {
		this.sumtax = sumtax;
	}
	public String getIspresent() {
		return ispresent;
	}
	public void setIspresent(String ispresent) {
		this.ispresent = ispresent;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getProname() {
		return proname;
	}
	public void setProname(String proname) {
		this.proname = proname;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public Xs_dd(String custbillname, String sfhs, String billstatus,
			String billdate, String billno, String custbillno,
			String custcurrency, int exchrate, String salesid,
			String permittersign, double zje, int count, List<Xs_ddx> xs_ddx,
			String departname, String maker, String permitter, String trantype,
			Integer lineId, Xs_bj bj, String prodId, Integer sumqty,
			double beforemoney, double zheshu, double price, double money,
			double taxlv, double taxmoney, double sumtax, String ispresent,
			String remark, String proname) {
		super();
		this.custbillname = custbillname;
		this.sfhs = sfhs;
		this.billstatus = billstatus;
		this.billdate = billdate;
		this.billno = billno;
		this.custbillno = custbillno;
		this.custcurrency = custcurrency;
		this.exchrate = exchrate;
		this.salesid = salesid;
		this.permittersign = permittersign;
		this.zje = zje;
		this.count = count;
		this.xs_ddx = xs_ddx;
		this.departname = departname;
		this.maker = maker;
		this.permitter = permitter;
		this.trantype = trantype;
		this.lineId = lineId;
		this.bj = bj;
		this.prodId = prodId;
		this.sumqty = sumqty;
		this.beforemoney = beforemoney;
		this.zheshu = zheshu;
		this.price = price;
		this.money = money;
		this.taxlv = taxlv;
		this.taxmoney = taxmoney;
		this.sumtax = sumtax;
		this.ispresent = ispresent;
		this.remark = remark;
		this.proname = proname;
	}
	@Override
	public String toString() {
		return "Xs_dd [custbillname=" + custbillname + ", sfhs=" + sfhs
				+ ", billstatus=" + billstatus + ", billdate=" + billdate
				+ ", billno=" + billno + ", custbillno=" + custbillno
				+ ", custcurrency=" + custcurrency + ", exchrate=" + exchrate
				+ ", salesid=" + salesid + ", permittersign=" + permittersign
				+ ", zje=" + zje + ", count=" + count + ", xs_ddx=" + xs_ddx
				+ ", departname=" + departname + ", maker=" + maker
				+ ", permitter=" + permitter + ", trantype=" + trantype
				+ ", lineId=" + lineId + ", bj=" + bj + ", prodId=" + prodId
				+ ", sumqty=" + sumqty + ", beforemoney=" + beforemoney
				+ ", zheshu=" + zheshu + ", price=" + price + ", money="
				+ money + ", taxlv=" + taxlv + ", taxmoney=" + taxmoney
				+ ", sumtax=" + sumtax + ", ispresent=" + ispresent
				+ ", remark=" + remark + ", proname=" + proname + "]";
	}
	
	
	 
	
	
}
